package com.teach.dto;


/**
 * <pre>
 * TODO : 登录用户记录的信息
 * ClassName :com.teach.vo.LoginUser
 * Author : J.L.Zhou
 * Tel : 15111047708
 * E-Mail : 12020042@qq.com
 * Date : 2020-05-02 14:19
 * Version : 1.0
 * </pre>
 */
public class LoginUser {

	/**
	 * 用户编号 - USER_ID
	 **/
	private Long userId;

	/**
	 * 用户名，唯一 - USER_NAME
	 **/
	private String userName;
	
	/**
	 * 角色编号 - ROLE_ID
	 **/
	private Integer roleId;
	
	/**
	 * 角色编码 - ROLE_CODE
	 */
	private String roleCode;
	
    /**
     * 用户昵称 - USER_NICKNAME
     */
    private String userNickname;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public String getUserNickname() {
		return userNickname;
	}

	public void setUserNickname(String userNickname) {
		this.userNickname = userNickname;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("LoginUser [userId=");
		builder.append(userId);
		builder.append(", userName=");
		builder.append(userName);
		builder.append(", roleId=");
		builder.append(roleId);
		builder.append(", roleCode=");
		builder.append(roleCode);
		builder.append(", userNickname=");
		builder.append(userNickname);
		builder.append("]");
		return builder.toString();
	}
	
	
}